﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Grizzy_X
{
    public abstract class CLegend
    {
        protected int ID;
        public string Title;
        public string Subtitle;
        public bool Visible;
        public bool ByScale;
        public enum LegendType { CPointLegend, CLineLegend, CPolygonLegend, CTextLegend };
        public LegendType Legend_Type;
        //public int Order;

        public bool SetID(int id)
        {
            this.ID = id;
            return true;
        }

        public int GetID()
        {
            return this.ID;
        }
    }
}
